package ru.stepuk.modern.events;

import ru.stepuk.modern.nodes.Source;

/**
 *
 * @author ivan
 */
public class RequestCreation implements Event {

    private Source target;

    public RequestCreation(Source target) {
        this.target = target;
    }

    public void process() {
        target.processRequest(target.create());
    }

}
